/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tableRouter = {
  path: '/table',
  component: Layout,
  
  name: 'Table',
  meta: {
    title: '门诊管理',
    icon: 'table'
  },
  children: [
    {
      path: 'guahao',
      component: () => import('@/views/table/guahao'),
      name: 'guahao',
      meta: { title: '用户挂号' }
    },
    {
      path: 'chufanghuajia',
      component: () => import('@/views/table/chufanghuajia'),
      name: 'chufanghuajia',
      meta: { title: '处方划价' }
    },
    {
      path: 'xiangmuhuajia',
      component: () => import('@/views/table/xiangmuhuajia'),
      name: 'xiangmuhuajia',
      meta: { title: '项目划价' }
    },
    {
      path: 'xiangmujiaofei',
      component: () => import('@/views/table/xiangmujiaofei'),
      name: 'xiangmujiaofei',
      meta: { title: '项目缴费' }
    },
    {
      path: 'xiangmujiancha',
      component: () => import('@/views/table/xiangmujiancha'),
      name: 'xiangmujiancha',
      meta: { title: '项目检查' }
    },
    {
      path: 'yaopinjiaofei',
      component: () => import('@/views/table/yaopinjiaofei'),
      name: 'yaopinjiaofei',
      meta: { title: '药品缴费' }
    },
    {
      path: 'complex-table',
      component: () => import('@/views/table/complex-table'),
      name: 'ComplexTable',
      meta: { title: '门诊患者库' }
    }
  ]
}
export default tableRouter
